'''
$LastChangedBy: csgillespie $
$LastChangedDate: 2007-06-06 11:08:06 +0000 (Wed, 06 Jun 2007) $
Colin Gillespie (c.gillespie@ncl.ac.uk)
'''

class EditError(Exception):
	'''Error called when something you shouldn't be able to edit, is edited (or try to)'''
	def __init__(self, value):
		self.value = value
	
	def __str__(self):
		return repr(self.value)

class BasisConfigError(Exception):
	'''Error called when you try to add something strange to the config file'''
	def __init__(self, value):
		self.value = value
	
	def __str__(self):
		return repr(self.value)
